home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 4 / The Arsenal Files 4 (Arsenal Computer).ISO / ham / sattrk31.tgz / sattrack-3.1.tar / SatTrack / src / README_MAKE < prev   
Text File  |  1995-03-22  |  1KB  |  55 lines

  1.  
  2. The following changes need to be made to the Makefile and various other files
  3. before compiling the SatTrack code. These are only brief instructions for 
  4. those (virtually everyone, including the author) who don't like to read 
  5. manuals. However, if you need more detailed information, look into 
  6. 'doc/sattrack.doc'.
  7.  
  8.  
  9. 0.   Rename the entire new SatTrack-3.1 directory into SatTrack. In case 
  10.      you already have an older version of SatTrack, save that version for 
  11.      example as SatTrack-Old.
  12.  
  13.  
  14. 1.   Specify machine type and compiler flags in the Makefile.
  15.      Example:
  16.  
  17.      CPU       = Sun-4/SunOS
  18.      CC_CMACH  = -O3 -DSTDLIB
  19.      CC_LMACH  =
  20.      CC        = gcc
  21.  
  22.  
  23. 2.   Specify user compile options for SatTrack in the Makefile.
  24.      Example:
  25.  
  26.      CC_CUSR   = -DHOMEDIR -DSUNTRANSITS -DREVERSEVIDEO -DXWINDOW -DNOBEEP
  27.  
  28.  
  29. 3.   Specify in the Makefile the location where X11 header files are installed.
  30.      Example:
  31.  
  32.      X11       = /usr/local/include
  33.  
  34.  
  35. 4.   Specify X11 linker options in the Makefile.
  36.      Example:
  37.  
  38.      LX11      = -lX11 -lXt
  39.  
  40.  
  41. 5.   Specify various other parameters in 'sattrack.h', if desired.
  42.  
  43.  
  44. 6.   Copy the X11 bitmap file with the desired type and size of the world map 
  45.      to world.xbm (in 'src/include').
  46.      Example:
  47.  
  48.      cp  world_lines_1.xbm  world.xbm
  49.  
  50.  
  51. 7.   Change into the 'src' directory and type:
  52.  
  53.      make all
  54.  
  55.